/*
 * AdminRoleMapper.java
 * Copyright(C) 2020-2099 坚小持
 * All rights reserved.
 * -----------------------------------------------
 * 2020-08-13 Created
 */
package com.project.web.system.mapper.app;

import com.project.web.system.mapper.common.BaseMapper;
import com.project.web.system.model.app.AdminRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminRoleMapper extends BaseMapper<AdminRole, Long> {


    void deteleByAdminId(Long userId);

    void batchSave(@Param("adminRoleList") List<AdminRole> adminRoleList);

    List<Long> selectRoleByUserId(@Param("userId") Long userId);
}